package com.gxp.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.gxp.util.common.GXPConstant;

public class WXOrder implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = -6102527910236981377L;
	
	private Integer orderId;

	private String userId;

    private String org;

    private String phoneN;
    
    private String email;
    
    private String qq;
    
    private String intro;
    
    private BigDecimal price;
    
    private String unit;
    
    private Integer amount;
    
    private Date tradeDate;
    
    private String tradeLocation;
    
    private String remarks;
    
    private Date modifiedDt;
    
    private String gameM;
    
    private String serverM;
    
    private String goodsM;
    
    
    public String getGameM() {
		return gameM;
	}

	public void setGameM(String gameM) {
		this.gameM = gameM;
	}

	public String getServerM() {
		return serverM;
	}

	public void setServerM(String serverM) {
		this.serverM = serverM;
	}

	public String getGoodsM() {
		return goodsM;
	}

	public void setGoodsM(String goodsM) {
		this.goodsM = goodsM;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getTradeDateStr() {
    	if (tradeDate == null) {
    		return "";
    	}
        return GXPConstant.TIMEFORMAT.format(tradeDate);
	}
    
    public String getModifiedDtStr() {
    	if (modifiedDt == null) {
    		return "";
    	}
        return GXPConstant.TIMEFORMAT.format(modifiedDt);
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getOrg() {
		return org;
	}

	public void setOrg(String org) {
		this.org = org;
	}

	public String getPhoneN() {
		return phoneN;
	}

	public void setPhoneN(String phoneN) {
		this.phoneN = phoneN;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Date getTradeDate() {
		return tradeDate;
	}

	public void setTradeDate(Date tradeDate) {
		this.tradeDate = tradeDate;
	}

	public String getTradeLocation() {
		return tradeLocation;
	}

	public void setTradeLocation(String tradeLocation) {
		this.tradeLocation = tradeLocation;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Date getModifiedDt() {
		return modifiedDt;
	}

	public void setModifiedDt(Date modifiedDt) {
		this.modifiedDt = modifiedDt;
	}

    
    
}